import { Component } from '@angular/core';

@Component({
  templateUrl: './alert-open-test.html'
})
export class AlertOpenTestComponent {
  label: string = '提示文本';
  open: boolean = false;
  open1: boolean = true;
  dismissOnTimeout: number = 5000;
  setOpen(): void {
    this.open = !this.open;
    console.log(this.open);
  }

  setOpen1(): void {
    this.open1 = !this.open1;
    console.log(this.open1);
  }
}
